package com.basis;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import lombok.extern.slf4j.Slf4j;

/**
 * @ClassName: Application
 * @Description: 启动类
 * @author: lxd
 * @date: 2019年11月22日 上午10:06:29
 */
@SpringBootApplication
@EnableTransactionManagement // 开启注解事务管理
@EnableCaching // 开启缓存支持
@MapperScan("com.basis")
@Slf4j
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
		log.info("项目启动成功");
	}


}
